<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:p="http://primefaces.org/ui"
      xmlns:h="http://java.sun.com/jsf/html">
    <body>
        <br/>
            <p:dataTable value="#{objectInfoDetailBackingBean.detail}" var="objectInfo" id="objectInfoDetail" style="width: 100%">
                <p:column>
                        <p:rowToggler />  
                </p:column>
                <p:column headerText="#{i18n['objectinfodetail.db.column']}">
                    #{objectInfo.name}
                </p:column>
                <p:column headerText="#{i18n['objectinfodetail.db.datatype']}">
                    #{objectInfo.type}
                </p:column>
                <p:column headerText="#{i18n['objectinfodetail.db.nullable']}">
                    #{objectInfo.nullable}  
                </p:column>
                <p:column headerText="#{i18n['objectinfodetail.db.primarykey']}">
                        #{objectInfo.pk}
                </p:column>
                <p:column headerText="#{i18n['objectinfodetail.db.options']}">
                    <p:commandButton icon="ui-icon-pencil"/>
                </p:column>
                <!--
                 <div style="width: 96%;text-align: center;">
                <p:rowExpansion >  
                        <p:accordionPanel>
                            <p:tab title="Foreings keys">

                            </p:tab>
                            <p:tab title="Foreings Tables">

                                </p:tab>
                                <p:tab title="Constraits">

                                </p:tab>
                        </p:accordionPanel>
                </p:rowExpansion>  
                     </div>
                -->
            </p:dataTable>
        <br/>
    </body>
</html>